﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaymentList.aspx.cs" Inherits="Web.Accounting.PaymentList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>支付一览表</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <div>
    本月份的支付情况
    </div>

                    <ext:Grid ID="GridResult" Title="PaymentList" PageSize="20" ShowBorder="false" 
                        ShowHeader="False" AutoHeight="true"
                        runat="server" EnableCheckBoxSelect="True" DataKeyNames="ReconciliationNo" 
                        IsDatabasePaging="true" AllowPaging="true" AllowSorting="true"
                        EnableRowNumber="false" OnSort="GridResult_Sort" 
                        OnPageIndexChange="GridResult_PageIndexChange">
                        <Columns>

                             <ext:WindowField ColumnID="ReconciliationNo" Width="140px" WindowID="WindowInvoice" HeaderText="单据号"
                    DataTextFormatString="{0}" DataIFrameUrlFields="ReconciliationNo" DataTextField="ReconciliationNo"
                    DataIFrameUrlFormatString="Invoice.aspx?ReconciliationNo={0}" DataWindowTitleField="ReconciliationNo"
                    DataWindowTitleFormatString="发票维护 - {0}" />
                             <ext:BoundField Width="70px" DataField="PaidPrice" DataFormatString="{0}" HeaderText="已填发票款" />                     
                             <ext:BoundField Width="70px" DataField="TotalPrice" DataFormatString="{0}" HeaderText="应付款" />
                            <ext:BoundField Width="140px" DataField="AccountingDate" HeaderText="计划付款日" />
                             <ext:BoundField Width="160px" DataField="StatusName" DataFormatString="{0}" HeaderText="单据状态" />
                             <ext:BoundField Width="100px" DataField="InsUser" DataFormatString="{0}" HeaderText="制单者" />
                             <ext:BoundField Width="140px" DataField="InsTime" DataFormatString="{0}" HeaderText="制单日" />
                            <ext:HyperLinkField HeaderText="导出到Excel" DataTextField="ReconciliationNo" SortField="ReconciliationNo"
                                DataTextFormatString="导出" DataNavigateUrlFields="ReconciliationNo" DataNavigateUrlFormatString="Invoice.aspx?ReconciliationNo={0}"
                                DataNavigateUrlFieldsEncode="true" Target="_blank" Width="70px"/>

                        </Columns>
                    </ext:Grid>
           <ext:Window ID="WindowInvoice" Title="发票维护" Hidden="true" 
        EnableIFrame="true" runat="server"
            CloseAction="HidePostBack"
            EnableMaximize="true" EnableResize="true" Target="Top"
            IsModal="True" Width="850px" Height="600px" 
        onclose="WindowInvoice_Close">
        </ext:Window>    
    </form>
</body>
</html>
